--
-- Created by IntelliJ IDEA.
-- User: apple
-- Date: 2019/7/4
-- Time: 9:15 AM
-- To change this template use File | Settings | File Templates.
--

 local redis = require 'redis'
 local client = redis.connect('127.0.0.1', 6379)
 local response = client:ping()
 for i=1,100 do
    client:set("post_"..i,"a"..i)
 end
